﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="EControl.MainWindow"
        Title="MainWindow" Height="600" Width="800" AllowsTransparency="True" WindowStyle="None" ResizeMode="NoResize" Background="#FFFBFBFB" WindowStartupLocation="CenterScreen" BorderBrush="#FF2B2B2B" BorderThickness="1">
    <Window.Resources>
        <Style x:Key="BtnMenuPrincipal" TargetType="{x:Type CheckBox}">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type CheckBox}">
                        <Grid>
                            <Rectangle x:Name="rectangle" Fill="#FF354153" HorizontalAlignment="Center" Width="140"/>
                            <Label Content="{TemplateBinding Content}" HorizontalAlignment="Center" Margin="0,0,0,3" VerticalAlignment="Bottom" Width="140" FontSize="13.333" HorizontalContentAlignment="Center" Foreground="#FFB2C1D4"/>
                            <Image Height="30" Margin="0,10.267,0,0" VerticalAlignment="Top" Width="30" HorizontalAlignment="Center" Source="Imagens/entradaSaida.png"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsMouseOver" Value="True">
                                <Setter Property="Width" TargetName="rectangle" Value="140"/>
                                <Setter Property="Fill" TargetName="rectangle" Value="#FF303B4B"/>
                            </Trigger>
                            <Trigger Property="IsChecked" Value="True">
                                <Setter Property="Fill" TargetName="rectangle" Value="#FF2C3440"/>
                                <Setter Property="Width" TargetName="rectangle" Value="140"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="BtnLog" TargetType="{x:Type Button}">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type Button}">
                        <Grid>
                            <Rectangle x:Name="rectangle" Fill="#FF354153" RadiusY="3" RadiusX="3" Stroke="#FF5F7591"/>
                            <Label Content="{TemplateBinding Content}" HorizontalAlignment="Left" VerticalAlignment="Top" Width="120" Height="36" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="13.333" Foreground="#FFB2C1D4"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsFocused" Value="True"/>
                            <Trigger Property="IsDefaulted" Value="True"/>
                            <Trigger Property="IsMouseOver" Value="True">
                                <Setter Property="Fill" TargetName="rectangle" Value="#FF353F4D"/>
                            </Trigger>
                            <Trigger Property="IsPressed" Value="True">
                                <Setter Property="Fill" TargetName="rectangle" Value="#FF353F4D"/>
                            </Trigger>
                            <Trigger Property="IsEnabled" Value="False"/>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="txtEstilo01" TargetType="{x:Type TextBox}">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type TextBox}">
                        <Grid>
                            <Rectangle x:Name="rectangle" Fill="#FFF3F3F3" RadiusY="3" RadiusX="3" Stroke="#FFD5DFE5"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsMouseOver" Value="True">
                                <Setter Property="Stroke" TargetName="rectangle" Value="#FFBCC1C3"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="BtnComum01" TargetType="{x:Type Button}">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type Button}">
                        <Grid>
                            <Rectangle x:Name="rectangle" Fill="#FFE0E0E0" RadiusY="3" RadiusX="3" Stroke="#FFC1C1C1"/>
                            <Label Content="{TemplateBinding Content}" Foreground="#FF767676" Width="Auto" Height="Auto" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsFocused" Value="True"/>
                            <Trigger Property="IsDefaulted" Value="True"/>
                            <Trigger Property="IsMouseOver" Value="True">
                                <Setter Property="Fill" TargetName="rectangle" Value="#FFCFCFCF"/>
                            </Trigger>
                            <Trigger Property="IsPressed" Value="True">
                                <Setter Property="Fill" TargetName="rectangle" Value="#FFCFCFCF"/>
                            </Trigger>
                            <Trigger Property="IsEnabled" Value="False"/>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="btnSair" TargetType="{x:Type Button}">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type Button}">
                        <Grid>
                            <Rectangle x:Name="rectangle" Fill="#FF00CCE0"/>
                            <Image HorizontalAlignment="Left" Height="30" VerticalAlignment="Top" Width="30" Source="Imagens/sair.png"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsFocused" Value="True"/>
                            <Trigger Property="IsDefaulted" Value="True"/>
                            <Trigger Property="IsMouseOver" Value="True">
                                <Setter Property="Stroke" TargetName="rectangle" Value="White"/>
                                <Setter Property="RadiusX" TargetName="rectangle" Value="3"/>
                                <Setter Property="RadiusY" TargetName="rectangle" Value="3"/>
                            </Trigger>
                            <Trigger Property="IsPressed" Value="True">
                                <Setter Property="RadiusX" TargetName="rectangle" Value="3"/>
                                <Setter Property="RadiusY" TargetName="rectangle" Value="3"/>
                                <Setter Property="Stroke" TargetName="rectangle" Value="White"/>
                            </Trigger>
                            <Trigger Property="IsEnabled" Value="False"/>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </Window.Resources>
    <Grid>
        <Rectangle Fill="#FF00ACBD" HorizontalAlignment="Left" Height="80" Margin="0" VerticalAlignment="Top" Width="140" MouseLeftButtonDown="Rectangle_MouseLeftButtonDown_1"/>
        <Rectangle Fill="#FF00CCE0" HorizontalAlignment="Left" Height="80" Margin="140,0,0,0" VerticalAlignment="Top" Width="660" MouseLeftButtonDown="Rectangle_MouseLeftButtonDown"/>
        <Rectangle Fill="#FF354153" HorizontalAlignment="Left" Height="520" Margin="0,80,0,0" VerticalAlignment="Top" Width="140"/>
        <Image HorizontalAlignment="Left" Height="54" VerticalAlignment="Top" Width="140" Source="imagens/EControl_logo.png" Margin="0,12,0,0"/>
        <Button x:Name="btnFechar" Content="Button" HorizontalAlignment="Right" Height="30" Margin="0,25,25,0" Style="{DynamicResource btnSair}" VerticalAlignment="Top" Width="30" Cursor="Hand" Click="btnFechar_Click"/>
        <Label x:Name="lblTituloInterface" Content="" HorizontalAlignment="Left" Margin="140,0,0,0" VerticalAlignment="Top" Height="80" Width="570" Foreground="White" VerticalContentAlignment="Center" FontSize="18.667" BorderThickness="10,0,0,0" MouseLeftButtonDown="lblTituloInterface_MouseLeftButtonDown"/>
        <Grid x:Name="grdMenuLateral" Margin="0,80,660,0">
            <CheckBox x:Name="btnEntradaSaida" Content="Entrada / Saída" HorizontalAlignment="Left" Height="70" Style="{DynamicResource BtnMenuPrincipal}" VerticalAlignment="Top" Width="140" Cursor="Hand" Margin="0" Click="btnEntradaSaida_Click"/>
            <CheckBox x:Name="btnClientes" Content="Clientes" HorizontalAlignment="Left" Height="70" Margin="0,70,0,0" Style="{DynamicResource CheckBoxStyle1}" VerticalAlignment="Top" Width="140" Cursor="Hand" Click="btnClientes_Click">
                <CheckBox.Resources>
                    <Style x:Key="CheckBoxStyle1" TargetType="{x:Type CheckBox}">
                        <Setter Property="Template">
                            <Setter.Value>
                                <ControlTemplate TargetType="{x:Type CheckBox}">
                                    <Grid>
                                        <Rectangle x:Name="rectangle" Fill="#FF354153" HorizontalAlignment="Center" Width="140"/>
                                        <Label Content="{TemplateBinding Content}" HorizontalAlignment="Center" Margin="0,0,0,3" VerticalAlignment="Bottom" Width="140" FontSize="13.333" HorizontalContentAlignment="Center" Foreground="#FFB2C1D4"/>
                                        <Image Height="30" Margin="0,10.267,0,0" VerticalAlignment="Top" Width="30" HorizontalAlignment="Center" Source="Imagens/clientes.png"/>
                                    </Grid>
                                    <ControlTemplate.Triggers>
                                        <Trigger Property="IsMouseOver" Value="True">
                                            <Setter Property="Width" TargetName="rectangle" Value="140"/>
                                            <Setter Property="Fill" TargetName="rectangle" Value="#FF303B4B"/>
                                        </Trigger>
                                        <Trigger Property="IsChecked" Value="True">
                                            <Setter Property="Fill" TargetName="rectangle" Value="#FF2C3440"/>
                                            <Setter Property="Width" TargetName="rectangle" Value="140"/>
                                        </Trigger>
                                    </ControlTemplate.Triggers>
                                </ControlTemplate>
                            </Setter.Value>
                        </Setter>
                    </Style>
                </CheckBox.Resources>
            </CheckBox>
            <CheckBox x:Name="btnConfiguracoes" Content="Configurações" HorizontalAlignment="Left" Height="70" Margin="0,140,-2,0" Style="{DynamicResource CheckBoxStyle1}" VerticalAlignment="Top" Width="140" Cursor="Hand" Click="btnConfiguracoes_Click">
                <CheckBox.Resources>
                    <Style x:Key="CheckBoxStyle1" TargetType="{x:Type CheckBox}">
                        <Setter Property="Template">
                            <Setter.Value>
                                <ControlTemplate TargetType="{x:Type CheckBox}">
                                    <Grid>
                                        <Rectangle x:Name="rectangle" Fill="#FF354153" HorizontalAlignment="Center" Width="140"/>
                                        <Label Content="{TemplateBinding Content}" HorizontalAlignment="Center" Margin="0,0,0,3" VerticalAlignment="Bottom" Width="140" FontSize="13.333" HorizontalContentAlignment="Center" Foreground="#FFB2C1D4"/>
                                        <Image Height="30" Margin="0,10.267,0,0" VerticalAlignment="Top" Width="30" HorizontalAlignment="Center" Source="Imagens/configuracoes.png"/>
                                    </Grid>
                                    <ControlTemplate.Triggers>
                                        <Trigger Property="IsMouseOver" Value="True">
                                            <Setter Property="Width" TargetName="rectangle" Value="140"/>
                                            <Setter Property="Fill" TargetName="rectangle" Value="#FF303B4B"/>
                                        </Trigger>
                                        <Trigger Property="IsChecked" Value="True">
                                            <Setter Property="Fill" TargetName="rectangle" Value="#FF2C3440"/>
                                            <Setter Property="Width" TargetName="rectangle" Value="140"/>
                                        </Trigger>
                                    </ControlTemplate.Triggers>
                                </ControlTemplate>
                            </Setter.Value>
                        </Setter>
                    </Style>
                </CheckBox.Resources>
            </CheckBox>
        </Grid>
        <GroupBox x:Name="grpLogin" Header="" HorizontalAlignment="Left" Margin="140,80,0,0" VerticalAlignment="Top" Height="520" Width="660" BorderBrush="{x:Null}" IsHitTestVisible="True" BorderThickness="0" Background="#FFFBFBFB">
            <GroupBox x:Name="grpLog" Header="Login" HorizontalAlignment="Left" Margin="160,90,0,0" VerticalAlignment="Top" Height="300" Width="300" FontSize="13.333" Foreground="#FF767676">
                <Grid Margin="0">
                    <PasswordBox x:Name="txtSenha" HorizontalAlignment="Center" Margin="44,129.733,44,0" VerticalAlignment="Top" Width="200" Height="40" Background="WhiteSmoke" Foreground="#FF767676" VerticalContentAlignment="Center" Padding="5,1" Panel.ZIndex="2" MaxLength="32">
                        <PasswordBox.BorderBrush>
                            <RadialGradientBrush>
                                <GradientStop Color="#FFCFCFCF"/>
                                <GradientStop Color="#FFCFCFCF" Offset="1"/>
                            </RadialGradientBrush>
                        </PasswordBox.BorderBrush>
                    </PasswordBox>
                    <Label Content="Usuário" HorizontalAlignment="Left" Margin="44,19.266,0,0" VerticalAlignment="Top" Foreground="#FF767676"/>
                    <Label Content="Senha" HorizontalAlignment="Left" Margin="44,97,0,0" VerticalAlignment="Top" Foreground="#FF767676" RenderTransformOrigin="0.631,0.315"/>
                    <Button x:Name="btnLogin" Content="Entrar" HorizontalAlignment="Center" Height="40" Margin="44,203.267,44,0" Style="{DynamicResource BtnComum01}" VerticalAlignment="Top" Width="200" Cursor="Hand" Panel.ZIndex="3" Click="btnEntrar_Click"/>
                    <TextBox x:Name="txtUsuario" HorizontalAlignment="Left" Height="40.001" Margin="44,51.999,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="200" Background="WhiteSmoke" Foreground="#FF767676" VerticalContentAlignment="Center" Padding="5,1" Panel.ZIndex="1" MaxLength="50">
                        <TextBox.BorderBrush>
                            <RadialGradientBrush>
                                <GradientStop Color="#FFCFCFCF"/>
                                <GradientStop Color="#FFCFCFCF" Offset="1"/>
                            </RadialGradientBrush>
                        </TextBox.BorderBrush>
                    </TextBox>
                </Grid>
            </GroupBox>
        </GroupBox>
        <Grid x:Name="grdClientes" HorizontalAlignment="Left" Height="518" VerticalAlignment="Top" Width="658" Margin="140,80,0,0" d:IsHidden="True">
            <Grid x:Name="grdClientesList" Background="#FFFBFBFB" IsVisibleChanged="grdClientesList_IsVisibleChanged">
                <ListView x:Name="listCli" Margin="10,83.002,10,56.961" BorderBrush="#FFCFCFCF" Foreground="#FF2E2E2E" SelectionMode="Single">
                    <ListView.View>
                        <GridView>
                            <GridViewColumn Width="50" Header="Id" DisplayMemberBinding="{Binding Id}" />
                            <GridViewColumn Width="140" Header="Nome" DisplayMemberBinding="{Binding Nome}" />
                            <GridViewColumn Width="140" Header="CPF / CNPJ" DisplayMemberBinding="{Binding Cpf}" />
                            <GridViewColumn Width="140" Header="Tipo" DisplayMemberBinding="{Binding IsJuridico}" />
                            <GridViewColumn Width="140" Header="Ativo" DisplayMemberBinding="{Binding IsAtivo}" />
                        </GridView>
                    </ListView.View>
                </ListView>
                <TextBox x:Name="txtCliPesquisa" HorizontalAlignment="Left" Height="33.001" Margin="10,33.001,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="513" Background="WhiteSmoke" Foreground="#FF767676" VerticalContentAlignment="Center" Padding="5,1" Panel.ZIndex="1">
                    <TextBox.BorderBrush>
                        <RadialGradientBrush>
                            <GradientStop Color="#FFCFCFCF"/>
                            <GradientStop Color="#FFCFCFCF" Offset="1"/>
                        </RadialGradientBrush>
                    </TextBox.BorderBrush>
                </TextBox>
                <Label Content="Pesquisa:" HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Top" Foreground="#FF767676" Height="33.001" VerticalContentAlignment="Center" Width="63.053" Padding="0,5,5,5"/>
                <Button x:Name="btnCliPesquisar" Content="Pesquisar" HorizontalAlignment="Right" Height="33.001" Margin="0,33.001,10,0" Style="{DynamicResource BtnComum01}" VerticalAlignment="Top" Width="109" Cursor="Hand" Panel.ZIndex="2" Click="btnCliPesquisar_Click"/>
                <Button x:Name="btnCliNovo" Content="Novo" HorizontalAlignment="Right" Margin="0,0,115,10" Style="{DynamicResource BtnComum01}" Width="100" Cursor="Hand" Panel.ZIndex="2" Height="31.001" VerticalAlignment="Bottom" Click="btnCliNovo_Click"/>
                <Button x:Name="btnCliEditar" Content="Editar" HorizontalAlignment="Right" Margin="0,0,10,10" Style="{DynamicResource BtnComum01}" Width="100" Cursor="Hand" Panel.ZIndex="2" Height="31.001" VerticalAlignment="Bottom" Click="btnCliEditar_Click"/>
                <Button x:Name="btnCliPagarMensal" Content="Pagar mensalidade" HorizontalAlignment="Left" Margin="10,0,0,10" Style="{DynamicResource BtnComum01}" Width="159" Cursor="Hand" Panel.ZIndex="2" Height="31" VerticalAlignment="Bottom"/>
            </Grid>
            <Grid x:Name="grdClientesEditar" Margin="0" Background="#FFFBFBFB" ScrollViewer.CanContentScroll="True" d:IsHidden="True">
                <Button x:Name="btnCliEditSalvar" Content="Salvar Alterações" HorizontalAlignment="Center" Height="36" Margin="499,472,10,0" Style="{DynamicResource BtnComum01}" VerticalAlignment="Top" Width="149" Cursor="Hand" Panel.ZIndex="3" Click="btnCliEditSalvar_Click"/>
                <Label x:Name="lblCliEditNome" Content="Nome" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="#FF767676" Margin="10,75,0,0" RenderTransformOrigin="0.446,0.578"/>
                <TextBox x:Name="txtCliEditNome" HorizontalAlignment="Left" Height="30" Margin="10,105.96,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="376" Background="WhiteSmoke" Foreground="#FF767676" VerticalContentAlignment="Center" Padding="5,1" Panel.ZIndex="1">
                    <TextBox.BorderBrush>
                        <RadialGradientBrush>
                            <GradientStop Color="#FFCFCFCF"/>
                            <GradientStop Color="#FFCFCFCF" Offset="1"/>
                        </RadialGradientBrush>
                    </TextBox.BorderBrush>
                </TextBox>
                <Label x:Name="lblCliEditCpf" Content="CPF" HorizontalAlignment="Left" Margin="10,140.96,0,0" VerticalAlignment="Top" Foreground="#FF767676"/>
                <TextBox x:Name="txtCliEditCPF" HorizontalAlignment="Left" Height="30" Margin="10,171.92,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="272" Background="WhiteSmoke" Foreground="#FF767676" VerticalContentAlignment="Center" Padding="5,1" Panel.ZIndex="1">
                    <TextBox.BorderBrush>
                        <RadialGradientBrush>
                            <GradientStop Color="#FFCFCFCF"/>
                            <GradientStop Color="#FFCFCFCF" Offset="1"/>
                        </RadialGradientBrush>
                    </TextBox.BorderBrush>
                </TextBox>
                <Button x:Name="btnCliEditVoltar" Content="Voltar" HorizontalAlignment="Center" Height="36" Margin="10,472,523,0" Style="{DynamicResource BtnComum01}" VerticalAlignment="Top" Width="125" Cursor="Hand" Panel.ZIndex="3" Click="btnCliEditVoltar_Click"/>
                <Label x:Name="lblCliEditId" Content="id" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="#FF767676" Margin="458.38,10,0,0" Width="189.62" HorizontalContentAlignment="Right"/>
                <RadioButton x:Name="rbdCliEditPf" Content="Pessoa física" HorizontalAlignment="Left" Margin="10,38.97,0,0" VerticalAlignment="Top" Foreground="#FF767676" GroupName="pessoa" IsChecked="True" Click="rbdCliEditPf_Click"/>
                <RadioButton x:Name="rbdCliEditPj" Content="Pessoa jurídica" HorizontalAlignment="Left" Margin="135,38.97,0,0" VerticalAlignment="Top" Foreground="#FF767676" GroupName="pessoa" Click="rbdCliEditPj_Click"/>
            </Grid>
            <Grid x:Name="grdClientesNovo" Margin="0" Background="#FFFBFBFB" ScrollViewer.CanContentScroll="True" d:IsHidden="True">
                <Button x:Name="btnCliNovoCadastrar" Content="Criar cliente" HorizontalAlignment="Center" Height="36" Margin="499,472,10,0" Style="{DynamicResource BtnComum01}" VerticalAlignment="Top" Width="149" Cursor="Hand" Panel.ZIndex="3" Click="btnCliNovoCadastrar_Click"/>
                <Button x:Name="btnCliNovoVoltar" Content="Voltar" HorizontalAlignment="Center" Height="36" Margin="10,472,538,0" Style="{DynamicResource BtnComum01}" VerticalAlignment="Top" Width="110" Cursor="Hand" Panel.ZIndex="3" Click="btnCliNovoVoltar_Click"/>
                <Label x:Name="lblCliNovoNome" Content="Nome" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="#FF767676" Margin="10,75,0,0" RenderTransformOrigin="0.446,0.578"/>
                <TextBox x:Name="txtCliNovoNome" HorizontalAlignment="Left" Height="30" Margin="10,105.96,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="376" Background="WhiteSmoke" Foreground="#FF767676" VerticalContentAlignment="Center" Padding="5,1" Panel.ZIndex="1">
                    <TextBox.BorderBrush>
                        <RadialGradientBrush>
                            <GradientStop Color="#FFCFCFCF"/>
                            <GradientStop Color="#FFCFCFCF" Offset="1"/>
                        </RadialGradientBrush>
                    </TextBox.BorderBrush>
                </TextBox>
                <Label x:Name="lblCliNovoCpf" Content="CPF" HorizontalAlignment="Left" Margin="10,140.96,0,0" VerticalAlignment="Top" Foreground="#FF767676"/>
                <TextBox x:Name="txtCliNovoCpf" HorizontalAlignment="Left" Height="30" Margin="10,171.92,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="272" Background="WhiteSmoke" Foreground="#FF767676" VerticalContentAlignment="Center" Padding="5,1" Panel.ZIndex="1">
                    <TextBox.BorderBrush>
                        <RadialGradientBrush>
                            <GradientStop Color="#FFCFCFCF"/>
                            <GradientStop Color="#FFCFCFCF" Offset="1"/>
                        </RadialGradientBrush>
                    </TextBox.BorderBrush>
                </TextBox>
                <RadioButton x:Name="rbdCliNovoPf" Content="Pessoa física" HorizontalAlignment="Left" Margin="10,38.97,0,0" VerticalAlignment="Top" Foreground="#FF767676" GroupName="pessoaNovo" IsChecked="True" Click="rbdCliNovoPf_Click"/>
                <RadioButton x:Name="rbdCliNovoPj" Content="Pessoa jurídica" HorizontalAlignment="Left" Margin="135,38.97,0,0" VerticalAlignment="Top" Foreground="#FF767676" GroupName="pessoaNovo" Click="rbdCliNovoPj_Click"/>
            </Grid>
        </Grid>
        <Grid x:Name="grdEntradaSaida" HorizontalAlignment="Left" Height="518" VerticalAlignment="Top" Width="658" Margin="140,80,0,0">
            <Grid x:Name="grdEScadastro" Background="#FFFBFBFB" IsVisibleChanged="grdEScadastro_IsVisibleChanged">
                <TextBox x:Name="txtESCpf" HorizontalAlignment="Left" Height="33.001" Margin="10,332.962,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="263" Background="WhiteSmoke" Foreground="#FF767676" VerticalContentAlignment="Center" Padding="5,1" Panel.ZIndex="1">
                    <TextBox.BorderBrush>
                        <RadialGradientBrush>
                            <GradientStop Color="#FFCFCFCF"/>
                            <GradientStop Color="#FFCFCFCF" Offset="1"/>
                        </RadialGradientBrush>
                    </TextBox.BorderBrush>
                </TextBox>
                <Label Content="Tipo de cliente:" HorizontalAlignment="Left" Margin="10,107,0,0" VerticalAlignment="Top" Foreground="#FF767676" Height="33.001" VerticalContentAlignment="Center" Width="132.053" Padding="0,5,5,5"/>
                <Button x:Name="btnESEnter" Content="Cadastrar" HorizontalAlignment="Right" Height="33.001" Margin="0,474.999,10,0" Style="{DynamicResource BtnComum01}" VerticalAlignment="Top" Width="109" Cursor="Hand" Panel.ZIndex="2" Click="btnESEnter_Click"/>
                <RadioButton x:Name="rbdESAvulso" Content="Avulso" HorizontalAlignment="Left" Margin="10,145.001,0,0" VerticalAlignment="Top" Foreground="#FF767676" GroupName="cliente" IsChecked="True" Click="rbdESAvulso_Click"/>
                <RadioButton x:Name="rbdESMensalista" Content="Mensalista" HorizontalAlignment="Left" Margin="162,145.001,0,0" VerticalAlignment="Top" Foreground="#FF767676" GroupName="cliente" Click="rbdESMensalista_Click"/>
                <Label x:Name="lblESCPF" Content="CPF / CNPJ:" HorizontalAlignment="Left" Margin="10,294.961,0,0" VerticalAlignment="Top" Foreground="#FF767676" Height="33.001" VerticalContentAlignment="Center" Width="132.053" Padding="0,5,5,5"/>
                <TextBox x:Name="txtESPlaca" HorizontalAlignment="Left" Height="33.001" Margin="10,233.962,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="263" Background="WhiteSmoke" Foreground="#FF767676" VerticalContentAlignment="Center" Padding="5,1" Panel.ZIndex="1">
                    <TextBox.BorderBrush>
                        <RadialGradientBrush>
                            <GradientStop Color="#FFCFCFCF"/>
                            <GradientStop Color="#FFCFCFCF" Offset="1"/>
                        </RadialGradientBrush>
                    </TextBox.BorderBrush>
                </TextBox>
                <Label x:Name="lblPlaca" Content="Placa do veículo:" HorizontalAlignment="Left" Margin="10,195.961,0,0" VerticalAlignment="Top" Foreground="#FF767676" Height="33.001" VerticalContentAlignment="Center" Width="132.053" Padding="0,5,5,5"/>
                <Label Content="VAGAS EM USO:" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Foreground="#FF767676" Height="33.001" VerticalContentAlignment="Center" Width="94.053" Padding="0,5,5,5"/>
                <Label x:Name="lblESVagasUso" Content="" HorizontalAlignment="Left" Margin="109.053,10,0,0" VerticalAlignment="Top" Foreground="#FF767676" Height="33.001" VerticalContentAlignment="Center" Width="209.053" Padding="0,5,5,5"/>
                <Label Content="VAGAS DISPONÍVEIS:" HorizontalAlignment="Left" Margin="10,48.001,0,0" VerticalAlignment="Top" Foreground="#FF767676" Height="33.001" VerticalContentAlignment="Center" Width="120.053" Padding="0,5,5,5"/>
                <Label x:Name="lblESVagasDispo" Content="" HorizontalAlignment="Left" Margin="135.053,48.001,0,0" VerticalAlignment="Top" Foreground="#FF767676" Height="33.001" VerticalContentAlignment="Center" Width="209.053" Padding="0,5,5,5"/>
            </Grid>
            <Grid x:Name="grdESticket" Background="#FFFBFBFB" IsVisibleChanged="grdClientesList_IsVisibleChanged">
                <Label x:Name="lblESTicket" Content="ENTRADA DE VEÍCULO" HorizontalAlignment="Left" Margin="10,35,0,0" VerticalAlignment="Top" Foreground="#FF767676" Height="33.001" VerticalContentAlignment="Center" Width="205.053" Padding="0,5,5,5"/>
                <Button x:Name="btnESFinalizar" Content="Finalizar" HorizontalAlignment="Right" Height="33.001" Margin="0,474.999,10,0" Style="{DynamicResource BtnComum01}" VerticalAlignment="Top" Width="109" Cursor="Hand" Panel.ZIndex="2" Click="btnESFinalizar_Click"/>
                <Label Content="Placa do veículo:" HorizontalAlignment="Left" Margin="10,104,0,0" VerticalAlignment="Top" Height="33" VerticalContentAlignment="Center" Foreground="#FF767676"/>
                <Label Content="Horário de entrada:" HorizontalAlignment="Left" Margin="10,256,0,0" VerticalAlignment="Top" Height="33" VerticalContentAlignment="Center" Foreground="#FF767676"/>
                <Label Content="Horário de saída:" HorizontalAlignment="Left" Margin="10,294,0,0" VerticalAlignment="Top" Height="33" VerticalContentAlignment="Center" Foreground="#FF767676"/>
                <Label Content="Total a pagar:" HorizontalAlignment="Left" Margin="10,332,0,0" VerticalAlignment="Top" Height="33" VerticalContentAlignment="Center" Foreground="#FF767676"/>
                <Label x:Name="lblESPlaca" Content="" HorizontalAlignment="Left" Margin="112.853,104,0,0" VerticalAlignment="Top" Height="33" VerticalContentAlignment="Center" Foreground="#FF767676" Width="209"/>
                <Label x:Name="lblESEntrada" Content="" HorizontalAlignment="Left" Margin="128,256,0,0" VerticalAlignment="Top" Height="33" VerticalContentAlignment="Center" Foreground="#FF767676" Width="315"/>
                <Label x:Name="lblESSaida" Content="" HorizontalAlignment="Left" Margin="115,294,0,0" VerticalAlignment="Top" Height="33" VerticalContentAlignment="Center" Foreground="#FF767676" Width="328"/>
                <Label x:Name="lblESTotalPagar" Content="" HorizontalAlignment="Left" Margin="97,332,0,0" VerticalAlignment="Top" Height="33" VerticalContentAlignment="Center" Foreground="#FF767676" Width="346"/>
                <Label Content="Cliente CPF:" HorizontalAlignment="Left" Margin="10,142,0,0" VerticalAlignment="Top" Height="33" VerticalContentAlignment="Center" Foreground="#FF767676"/>
                <Label x:Name="lblESCPFCliente" Content="" HorizontalAlignment="Left" Margin="88,142,0,0" VerticalAlignment="Top" Height="33" VerticalContentAlignment="Center" Foreground="#FF767676" Width="378"/>
                <Label Content="Cliente nome:" HorizontalAlignment="Left" Margin="10,180,0,0" VerticalAlignment="Top" Height="33" VerticalContentAlignment="Center" Foreground="#FF767676"/>
                <Label x:Name="lblESNome" Content="" HorizontalAlignment="Left" Margin="101,180,0,0" VerticalAlignment="Top" Height="33" VerticalContentAlignment="Center" Foreground="#FF767676" Width="447"/>
                <Label Content="Número da vaga:" HorizontalAlignment="Left" Margin="10,218,0,0" VerticalAlignment="Top" Height="33" VerticalContentAlignment="Center" Foreground="#FF767676"/>
                <Label x:Name="lblESVaga" Content="" HorizontalAlignment="Left" Margin="116,218,0,0" VerticalAlignment="Top" Height="33" VerticalContentAlignment="Center" Foreground="#FF767676" Width="205.853"/>
            </Grid>
        </Grid>

    </Grid>
</Window>
